Skip to content

feat: handle database errors#11645

Draft
aaqilniz wants to merge 1 commit into
loopbackio:masterfrom
aaqilniz:feat/handle-database-errors
Draft

feat: handle database errors#11645
aaqilniz wants to merge 1 commit into
loopbackio:masterfrom
aaqilniz:feat/handle-database-errors

Conversation

@aaqilniz

@aaqilniz aaqilniz commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The app generally returns a 500 error code for most database-related errors. This PR adds a generic database error class and returns an appropriate error response.

Checklist

  • DCO (Developer Certificate of Origin) signed in all commits
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

Signed-off-by: Muhammad Aaqil <aaqilcs102@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant